let g:vista_default_executive = get(g:, 'vista_default_executive', 'nvim_lsp')
if g:node_version > 14
    let g:lsp_installer_servers = ['vimls']
else
    let g:lsp_installer_servers = []
endif
if g:python_version > 3.06
    let g:lsp_installer_servers += ['pylsp']
elseif g:node_version > 14
    let g:lsp_installer_servers += ['pyright']
endif
if Require('web') && g:node_version > 14
    let g:lsp_installer_servers += ['cssls', 'tsserver', 'eslint', 'html', 'vuels', 'angularls']
endif
if Require('c')
    let g:lsp_installer_servers += ['cmake']
    if executable('clangd')
        let g:lsp_installer_servers += ['clangd']
    endif
endif
if Require('rust')
    let g:lsp_installer_servers += ['rust_analyzer']
endif
if Require('go')
    let g:lsp_installer_servers += ['gopls']
endif
if Require('R') && executable('R')
    let g:lsp_installer_servers += ['r_language_server']
endif
if Require('java') && executable('java')
    let g:lsp_installer_servers += ['jdtls']
endif
